using System.ComponentModel;
using FreeSql;
using FreeSql.DataAnnotations;

namespace BootBlazorApp1.Model;

public class User:BaseEntity<User,int>
{
    [Description("用户名")]
    public string Name { get; set; }
    [Description("电子邮件")]
    public string Email { get; set; }
    public int RoleId { get; set; }
    [Navigate(nameof(RoleId))]
    public Role Role { get; set; }
}